package com.youlai.boot.modules.exhibition.converter;

import com.youlai.boot.modules.exhibition.model.Exhibition;
import com.youlai.boot.modules.exhibition.model.ExhibitionForm;
import com.youlai.boot.modules.exhibition.model.ExhibitionVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface ExhibitionConverter {
    ExhibitionVO toVO(Exhibition exhibition);

    Exhibition toEntity(ExhibitionForm form);
}